/* 
    Document   : style
    Created on : Mar 14, 2011, 6:17:28 AM
    Author     : Matt
    Description:
        Global app stylesheet
*/

root { 
    display: block;
}

html, body {
	font-family: Verdana, Helvetica, sans-serif;
	background-color: #FFF;
	color: #111;
	display: block;
	width: 100%;
	margin: 0px;
	padding: 0px;
	border: none;
	text-align: center;
}

img {
	border: 0;
}

a:link, a:active, a:visited {
	color: #9999FF;
	text-decoration: none;
}
a:hover {
	color: #CCCCFF;
	text-decoration: underline;
}

a.table-link:link, a.table-link:active, a.table-link:visited {
	color: #000066;
	text-decoration: none;
}
a.table-link:hover {
	color: #333399;
	text-decoration: underline;
}

a.category-box {
	display: block;
	height: 16px;
	padding: 5px;
	margin-top: 3px;
	background-color: #9999FF;
	color: #000066;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
a.category-box:hover {
	color: #333399;
	background-color: #CCCCFF;
}

a.tab:link, a.tab:visited {
	display: inline-block;
	line-height: 16px;
	height: 16px;
	padding: 3px;
	margin: 0px 0px;
	text-decoration: none;
	cursor: pointer;
	border-style: outset;
	border-color: #CDCDCD;
	border-width: 1px;
	border-bottom: none;
	background-color: #CDCDCD;
	color: #000000;
	font-weight: normal;
	font-size: 16px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
a.tab:active {
	text-decoration: none;
	border: inset #CDCDCD 1px;
	border-bottom: none;
	color: #000000;
}
a.tab:hover {
	text-decoration: none;
	background-color: #CCCCFF;
	color: #000000;
}
a.tab img.with-text {
	margin-right: 5px;
}
a.tab.selected {
	background-color: #FFFFFF;
}

a.image-button {
	display: inline-block;
	padding: 3px;
	margin: 0px 3px;
	height: 16px;
	text-decoration: none;
	cursor: pointer;
	border: outset #CDCDCD 1px;
	background-color: #CDCDCD;
	color: #000000;
	font-weight: normal;
	font-size: 16px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
a.image-button:active {
	text-decoration: none;
	border: inset #CDCDCD 1px;
	color: #000000;
}
a.image-button:hover {
	text-decoration: none;
	background-color: #CCCCFF;
	color: #000000;
}
img.with-text {
	margin-right: 5px;
	vertical-align: text-bottom;
}
img.with-text-middle {
	margin-right: 5px;
	vertical-align: middle;
}
a.image-button.large {
	font-size: 24px;
	height: auto;
	line-height: normal;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
a.image-button.no-height {
	height: auto;
	line-height: normal;
}

a.image-button.fixed-width {
	width: 75px;
}

a.time-picker {
	display: inline-block;
	height: 32px;
	line-height: 32px;
}
a.time-picker img {
	vertical-align: middle;
}

span.message {
	display: block;
	margin: 5px;
	padding: 5px;
	border-style: solid;
	border-width: 3px;
	border-color: #000000;
}

span.message.error {
	border-color: #FF0000;
	background-color: #FF9999;
	color: #990000;
}

span.message.warn {
	border-color: #FF8000;
	background-color: #FFCC77;
	color: #FF9F00;
}

.notification {
	display: block;
	height: 42px;
	line-height: 42px;
	padding-left: 42px;
	padding-right: 5px;
	border-color: #0000FF;
	background-color: #AAAAFF;
	color: #000066;
	background-image: url('/DailyMarket/resources/images/icons/32/information.png');
	background-repeat: no-repeat;
	background-position: 5px 5px;
}
.notification.error {
	border-color: #FF0000;
	color: #660000;
	background-color: #FFAAAA;
	background-image: url('/DailyMarket/resources/images/icons/32/error.png');
}

.status {
	display: block;
	height: 42px;
	line-height: 42px;
	padding-left: 42px;
	padding-right: 5px;
	margin: 0px;
	background-repeat: no-repeat;
	background-position: 5px 5px;
}
.status.good {
	color: #000066;
	background-color: #AAAAFF;
	background-image: url('/DailyMarket/resources/images/icons/32/accept.png');
}
.status.warn {
	color: #FF8000;
	background-color: #FFEEAA;
	background-image: url('/DailyMarket/resources/images/icons/32/warn.png');
}
.status.error {
	color: #660000;
	background-color: #FFAAAA;
	background-image: url('/DailyMarket/resources/images/icons/32/error.png');
}
.status.fatal {
	color: #660000;
	background-color: #FFAAAA;
	background-image: url('/DailyMarket/resources/images/icons/32/error.png');
}

.status-small {
	display: block;
	height: 22px;
	line-height: 22px;
	padding-left: 22px;
	padding-right: 3px;
	margin: 0px;
	background-repeat: no-repeat;
	background-position: 3px 3px;
}
.status-small.good {
	color: #000066;
	background-color: #AAAAFF;
	background-image: url('/DailyMarket/resources/images/icons/16/accept.png');
}
.status-small.warn {
	color: #FF8000;
	background-color: #FFEEAA;
	background-image: url('/DailyMarket/resources/images/icons/16/warn.png');
}
.status-small.error {
	color: #660000;
	background-color: #FFAAAA;
	background-image: url('/DailyMarket/resources/images/icons/16/error.png');
}
.status-small.fatal {
	color: #660000;
	background-color: #FFAAAA;
	background-image: url('/DailyMarket/resources/images/icons/16/error.png');
}

.deal-status {
	display: block;
	height: 42px;
	width: 150px;
	line-height: 42px;
	padding: 0px 5px;
	margin: 0px;
}
.deal-status.good {
	background-color: #99FF99;
}
.deal-status.warn {
	background-color: #FFEEAA;
}
.deal-status.error, .deal-status.fatal {
	background-color: #FFAAAA;
}

span.form-message {
	display: block;
	position: relative;
	margin: 5px 0px;
	padding: 5px;
	border-style: solid;
	border-width: 3px;
	border-color: #000000;
}
span.form-message.error {
	border-color: #FF0000;
	background-color: #FF9999;
	color: #990000;
}
span.form-message.warn {
	border-color: #FF8000;
	background-color: #FFEEAA;
	color: #FF8000;
}

#pageLayout {
	display: block;
	position: relative;
	margin: 0px auto;
	width: 960px;
}

#header {
	display: block;
	width: 960px;
	height: 180px;
}

#navigation {
	display: block;
	position: relative;
	width: 960px;
	height: 44px;
	line-height: 44px;
	font-size: 16px;
	font-weight: bold;
	text-align: right;
}
#nav_left {
	position: absolute;
	text-align: left;
	line-height: 44px;
	height: 44px;
}

#content {
	vertical-align: top;
	display: inline-block;
	text-align: left;
	padding: 20px;
}

#category_content {
	vertical-align: top;
	display: inline-block;
	text-align: left;
	padding: 20px;
	width: 150px;
}
#deals_content {
	vertical-align: top;
	display: inline-block;
	margin-left: 10px;
	text-align: left;
	padding: 20px;
	width: 710px;
}

#frontpage_deals {
	display: inline-block;
	text-align: left;
	padding: 20px;
	width: auto;
	position: relative;
}
#frontpage_deals_ticker {
	display: block;
	height: 263px;
	width: 474px;
}
.frontpage_deals_ticker_page {
	position: absolute;
	display: block;
	top: 20px;
	left: 20px;
}

#footer {
	position: fixed;
	left: 0px;
	bottom: 0px;
	width: 100%;
	height: 65px;
	background-image: url('/DailyMarket/resources/images/footer_background.png');
	background-repeat: repeat-x;
	background-position: right bottom;
	padding: 5px;
	font-size: 14px;
	color: #003;
	text-align: center;
}
#footer span {
	display: block;
	position: absolute;
	bottom: 10px;
	width: 100%;
	font-weight: bold;
}
#footer-spacing {
	display: block;
	height: 75px;
}

#signup_options {
	display: block;
	position: relative;
	top: 10px;
	font-weight: bold;
}

#deal_editor_header {
	display: block;
	width: 920px;
	padding: 20px;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
}
#deal_editor_buttons {
	float: right;
	vertical-align: middle;
	line-height: 24px;
}
#deal_editor_buttons a.image-button {
	padding-left: 7px;
	padding-right: 7px;
}
#deal_editor_content_left {
	vertical-align: top;
	display: inline-block;
	text-align: left;
	padding: 20px;
	width: 680px;
}
#deal_editor_content_right {
	vertical-align: top;
	display: inline-block;
	margin-left: 10px;
	text-align: left;
	padding: 20px;
	width: 180px;
}
#timed_deal_params {
	border-style: solid;
	border-color: #FFFFFF;
	border-width: 1px;
	padding: 5px;
}
#deal_editor_content_left div label.form-row {
	width: 100px;
}
#deal_editor_content_right div.form-row {
	min-width: 180px;
	line-height: normal;
}
#deal_editor_content_right div label.form-row {
	width: 180px;
	text-align: left;
	font-size: 12px;
	line-height: normal;
}
#deal_editor_form\:deal_startTime, #deal_editor_form\:deal_endTime {
	background-image: url('../resources/images/icons/16/calendar.png');
	background-position: right center;
	background-repeat: no-repeat;
}

span.landing_large {
	font-size: 24px;
}

input.landing_large {
	font-size: 24px;
	color: #000033;
	background-color: #FFFFFF;
}

label.landing_large {
	font-size: 20px;
	color: #FFFFFF;
	font-weight: bold;
}
div.chooser_header {
	display: block;
	width: 600px;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}
div.chooser {
	display: inline-block;
	width: 300px;
	text-align: center;
}

div.form-row {
	min-width: 350px;
	display: block;
	line-height: 24px;
	padding: 1px 0px;
}
div.form-row.submit {
	height: auto;
	padding: 5px 0px;
	text-align: right;
}
div.form-row.header {
	height: auto;
	margin: 10px 0px;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
}
label.form-row {
	display: inline-block;
	line-height: 24px;
	width: 250px;
	text-align: right;
	vertical-align: top;
}
.dialog label.form-row {
	width: 150px;
}
label.form-row.left-align {
	text-align: left;
}

div.form-group {
	display: block;
	border-style: solid;
	border-color: #FFFFFF;
	border-width: 2px;
}

li.form-messages {
	list-style-type: none;
	margin: 5px 0px;
	padding: 5px;
	padding-left: 40px;
	height: 32px;
	line-height: 32px;
	border-style: solid;
	border-width: 3px;
	border-color: #FFFFFF;
}
li.form-messages.error {
	border-color: #FF0000;
	background-color: #FF9999;
	color: #990000;
	background-image: url('/DailyMarket/resources/images/icons/32/error.png');
	background-repeat: no-repeat;
	background-position: 5px 5px;
}
li.form-messages.warn {
	border-color: #FF8000;
	background-color: #FFEEAA;
	color: #FF8000;
	background-image: url('/DailyMarket/resources/images/icons/32/warn.png');
	background-repeat: no-repeat;
	background-position: 5px 5px;
}
li.form-messages.good {
	border-color: #0000FF;
	background-color: #AAAAFF;
	color: #000066;
	background-image: url('/DailyMarket/resources/images/icons/32/accept.png');
	background-repeat: no-repeat;
	background-position: 5px 5px;
}

div.graphic_bg {
	margin-top: 20px;
	background-image: url('/DailyMarket/resources/images/st_background.png');
	background-repeat: repeat;
	background-position: top left;
	text-align: center;
	color: #FFFFFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.h1 {
	display: block;
	font-size: 24px;
	font-weight: bold;
}
.h1.centre {
	text-align: center;
}

.links {
	display: block;
}
.links.centre {
	text-align: center;
}

.odd-row td {
	padding: 5px;
	background-color: #CCCCFF;
	color: #000000;
}
.even-row td {
	padding: 5px;
	background-color: #9999FF;
	color: #000000;
}
.id-col {
	vertical-align: top;
	font-weight: bold;
	border: none;
}
.img-col {
	width: 100px;
	border-left-style: solid;
	border-left-color: #000000;
	border-left-width: 2px;
}
.data-col {
	vertical-align: top;
	border-left-style: solid;
	border-left-color: #000000;
	border-left-width: 2px;
}
.tools-col {
	border-left-style: solid;
	border-left-color: #000000;
	border-left-width: 2px;
	text-align: right;
}
.tools-col.deal-tools {
	width: 70px;
	vertical-align: top;
}
.deal-timer-col {
	width: 70px;
}
th.header-row {
	padding: 7px;
	background-color: #333399;
	color: #FFFFFF;
}

div.deals-title {
	display: block;
	line-height: 16px;
	padding: 5px;
	background-color: #CDCDCD;
	font-style: italic;
	color: #000000;
}

div.page-nav {
	margin-top: 3px;
	padding: 5px;
	background-color: #CDCDCD;
	color: #000000;
}
a.page-nav-link {
	display: inline-block;
	padding: 2px 10px;
	color: #000066;
}
a.page-nav-link:hover {
	background-color: #AAAAFF;
}
a.page-nav-link-sel {
	display: inline-block;
	padding: 2px 10px;
	background-color: #333399;
	color: #FFFFFF;
}

div.deal-box {
	display: inline-block;
	width: 150px;
	height: 230px;
	border-style: solid;
	border-color: #ffffff;
	border-width: 2px;
	cursor: pointer;
}
div.deal-box:hover {
	background-color: #CCCCFF;
	border-color: #000066;
	color: #000000;
}
span.deal-title {
	display: block;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
}
span.deal-title.detail {
	text-align: left;
	font-size: 24px;
}
span.deal-pricetag {
	display: block;
	text-align: left;
	font-style: italic;
	font-weight: bold;
}
span.deal-timer {
	display: block;
	text-align: right;
}
span.deal-company {
	display: block;
	font-weight: bold;
}
div.deal-image {
	display: inline-block;
	width: 300px;
	height: 365px;
	border-style: solid;
	border-color: #FFFFFF;
	border-width: 1px;
	padding: 5px;
}
a.image-link {
	display: inline-block;
	height: 50px;
	width: 50px;
	padding: 5px;
}
a.image-link:hover {
	background-color: #9999FF;
}
div.deal-vitals {
	display: inline-block;
	vertical-align: top;
	width: 600px;
}
div.deal-details {
	display: block;
	width: 920px;
	margin-top: 5px;
	
}
div.deal-actionbox {
	display: block;
	float: right;
	background-color: #9999FF;
	color: #000000;
	padding: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div.grid-view {
	display: block;
	text-align: left;
	border-style: solid;
	border-color: #FFFFFF;
	border-width: 4px;
	padding: 10px;
	padding-top: 0px;
}
div.grid-view div.deal-box {
	margin-top: 10px;
	line-height: normal;
	vertical-align: top;
}

.checkout-panel {
	display: block;
	text-align: right;
	padding: 10px;
}

ul.menu, ul.menu ul{
	margin: 0px 5px;
	padding: 0px;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
	line-height: 44px;
	display: inline-block;
	position: relative;
}

ul.menu a{
	display: block;
	padding: 0px 10px;
	color: #FFFFFF;
	text-decoration: none;
}

ul.menu a:hover{
	background-color: #9999FF;
	color: #000000;
}

ul.menu li{
	float: left;
	position: relative;
}

ul.menu ul {
	position: absolute;
	display: none;
	top: 44px;
	margin: 0px;
}

ul.menu li ul a{
	width: 13em;
	height: auto;
	float: left;
	text-align: left;
	background-color: #333333;
}

ul ul ul{
	top: auto;
}

ul.menu li ul ul {
	left: 12em;
	margin: 0px 0 0 10px;
}

ul.menu li:hover ul ul, ul.menu li:hover ul ul ul, ul.menu li:hover ul ul ul ul{
	display: none;
}
ul.menu li:hover ul, ul.menu li li:hover ul, ul.menu li li li:hover ul, ul.menu li li li li:hover ul{
	display: block;
}

img.menu-icon {
	vertical-align: middle;
	margin-right: 5px;
}

/* Popup Dialog */
.dialog-container {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	/* To Hell With IE6, Still Using It? Consider Mozilla Firefox or Google Chrome instead. */
	background: url('/DailyMarket/resources/images/st_background_dark.png');
	background-repeat: repeat;
	z-index: 999;
}
.dialog {
	display: inline-block;
	position: absolute;
	background: #EEEEEE;
	color: #000000;
	border: solid #AAAAAA 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.dialog-titlebar {
	display: block;
	height: 28px;
	background-color: #AAAAAA;
}
.dialog-title {
	display: inline-block;
	width: 100%;
	height: 20px;
	line-height: 20px;
	padding: 4px;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: bold;
}
.dialog-close {
	position: absolute;
	right: 2px;
	top: 2px;
}
.dialog-content {
	display: block;
	padding: 5px;
}
.dialog-buttons {
	margin-top: 5px;
}